<html xmlns:th="http://www.thymeleaf.org">
<head>
    <link type="text/css" href="/topjui/css/myui.css" rel="stylesheet"/>
</head>
<body>
<form id="customerform" method="post" style="padding-top:1px">
    <input type="hidden" name="id" id="id">
    <table style="margin:6px; width: 98%">
        <tr style="height: 30px">
            <td class="label" width="126px" style="text-align: right">用车日期</td>
            <td>
                <input type="text" id="form-usedate" name="usedate" class="selectp"  style="width:250px;height: 24px">
            </td>
            <td class="label" width="126px" style="text-align: right">车辆牌号</td>
            <td>
                <input type="hidden" id="form-carid" name="carid" value="0">
                <input type="text" id="form-plateno"  name="plateno"  readonly="readonly" class="selectp" style="width:250px;height: 24px">
            </td>
        </tr>
        <tr style="height: 30px">
            <td class="label" width="126px" style="text-align: right">出发地</td>
            <td>
                <input type="text" name="srcaddress" class="selectp" autocomplete="off" style="width:250px;height: 24px">
            </td>
            <td class="label"  width="126px" style="text-align: right">目的地</td>
            <td>
                <input type="text" name="taraddress" class="selectp"  autocomplete="off" style="width:250px;height: 24px">
            </td>
        </tr>
        <tr style="height: 30px">
            <td class="label" width="126px" style="text-align: right">使用人员</td>
            <td>
                <input type="text" name="whouse" autocomplete="off" class="selectp" style="width:250px;height: 24px">
            </td>
            <td class="label" width="126px" style="text-align: right">随行人员</td>
            <td>
                <input type="text" name="offices" autocomplete="off" class="selectp" style="width:250px;height: 24px">
            </td>
        </tr>
        <tr style="height: 30px">
            <td class="label" width="126px" style="text-align: right">事由</td>
            <td>
                <input type="text" name="display" autocomplete="off" class="selectp" style="width:250px;height: 24px">
            </td>
            <td class="label" width="126px" style="text-align: right">仪表</td>
            <td>
                <input type="hidden" id="dashstart" name="dashstart">
                <input type="text" name="dashend" autocomplete="off" class="selectp" readonly="readonly" style="width:250px;height: 24px">
            </td>
        </tr>
    </table>
</form>
<script th:inline="javascript">
    $(function () {
        $('#form-usedate').datebox({
            formatter: function (date) {

                var y = date.getFullYear();
                var m = date.getMonth() + 1;
                var d = date.getDate();
                return y + '-' + (m < 10 ? ('0' + m) : m) + '-' + (d < 10 ? ('0' + d) : d);

            }
        });
        $(".combo-text").removeAttr("style");
        $(".combo-text").attr("style", "width:250px;height:24px;line-height:24px");
        $(".combo-text").addClass("selectp");
        $(".combo-arrow").attr("style", "margin-left: -20px;margin-top: 4px;background-color:rgba(0,0,0,0)");
        $(".combo-panel").attr("style", "margin-top:10px;");
    });
</script>
</body>
</html>